package com.niujie.prototypemanage;

import com.niujie.prototypemanage.utils.MailUtil;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class Mailtest {
    @Autowired
    private MailUtil mailUtil;

    @Test
    public void testMail(){
        mailUtil.sendMail("516864242@qq.com","test","https://www.nowcoder.com/study/live/246/2/7");
    }
}
